<html>
	<head>
	    <title>gulpServer</title>
		<meta charset="utf-8">
		<script src="jquery-2.2.2.min.js"></script>
	</head>
	<body>

	<div>
		<h1>index1</h1>
		<div id="main"></div>
	</div>
	<script>
		//ajax测试
		$.ajax({
			url: '/api/test',
			success: function(data){
				$("#main").html(data.code)
				console.log(data);
			}
		});
	</script>


	</body>
</html>
